package com.javasvip.serviceuser.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "lagou-cloud-gateway",fallback = CodeFallback.class,path = "/code")
public interface CodeService {
    @GetMapping("/verification/{email}/{code}")
    public Integer verification(@PathVariable String email,@PathVariable String code);
}
